package com.wtwd.campus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.ArrayList;

/**
 * <p>
 * 
 * </p>
 *
 * @author mjy
 * @since 2021-06-24
 */
public class DeviceClassPattern implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     * 开始时间
     */
    private String beginTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 开关
     */
    private Integer onOff;

    /**
     * 重复时间
     */
    private String repeatTime;

    /**
     * 状态 1-正常 2-待添加 3-待删除 4-待修改
     */
    private Integer status;

    /**
     * 流水号
     */
    private String commandNumber;

    /**
     * 课表序号（最大为10）
     */
    private Integer sequence;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getOnOff() {
        return onOff;
    }

    public void setOnOff(Integer onOff) {
        this.onOff = onOff;
    }

    public String getRepeatTime() {
        return repeatTime;
    }

    public void setRepeatTime(String repeatTime) {
        this.repeatTime = repeatTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCommandNumber() {
        return commandNumber;
    }

    public void setCommandNumber(String commandNumber) {
        this.commandNumber = commandNumber;
    }

    public Integer getSequence() {
        return sequence;
    }

    public void setSequence(Integer sequence) {
        this.sequence = sequence;
    }

    @Override
    public String toString() {
        return "DeviceClassPattern{" +
        "id=" + id +
        ", deviceId=" + deviceId +
        ", beginTime=" + beginTime +
        ", endTime=" + endTime +
        ", onOff=" + onOff +
        ", repeatTime=" + repeatTime +
        ", status=" + status +
        ", commandNumber=" + commandNumber +
        ", sequence=" + sequence +
        "}";
    }
}
